package zb.blog.dao;

import org.apache.ibatis.annotations.Param;
import zb.blog.bean.CommentBean;

import java.util.List;
import java.util.Map;

public interface MessageDao {

    List<CommentBean> getMessage(@Param("param") Map<String, String> param);

    Map<String, Object> getMsgToEmailByCommtId(@Param("commnetId") Integer commentId);

    int updateComStatusByCommtId(@Param("commentId") Integer commentId, @Param("status") Integer status, @Param("auditorId") Integer auditorId);

    void addComment(@Param("bean") CommentBean comtBean);
}
